package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 项目人力明细
 * </p>
 * @author WuZH
 * @since 2024-05-14
 */
@Getter
@Setter
@TableName ("erp_project_personnel_info")
@ApiModel (value = "项目人力明细", description = "项目人力明细")
public class ProjectPersonnelEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("项目Id")
    @TableField ("project_id")
    private String projectId;

    @ApiModelProperty ("姓名")
    @TableField ("NAME")
    private String name;

    @ApiModelProperty ("身份证号")
    @TableField ("id_card")
    private String idCard;

    @ApiModelProperty ("手机号")
    @TableField ("tel_phone")
    private String telPhone;

    @ApiModelProperty ("工种")
    @TableField ("work_type")
    private String workType;

    @ApiModelProperty ("单价")
    @TableField ("unit_price")
    private String unitPrice;

    @ApiModelProperty ("日生活费")
    @TableField ("day_liv_expenses")
    private String dayLivExpenses;

    @ApiModelProperty ("银行卡号")
    @TableField ("bank_card_no")
    private String bankCardNo;

    @ApiModelProperty ("开户行")
    @TableField ("bank_name")
    private String bankName;

    @ApiModelProperty ("身份证正面照片地址")
    @TableField ("front_idCard_pic")
    private String frontIdcardPic;

    @ApiModelProperty ("身份证反面照片地址")
    @TableField ("back_idCard_pic")
    private String backIdcardPic;

    @ApiModelProperty ("银行卡照片地址")
    @TableField ("bank_card_pic")
    private String bankCardPic;

    @ApiModelProperty ("备注")
    @TableField ("remarks")
    private String remarks;

    @ApiModelProperty ("添加人Id")
    @TableField ("user_id")
    private String userId;

    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    private Date changeTime;

    @TableField ("is_used")
    private Integer isUsed;


}
